package com.bupt.ilink.service.bailian;

import com.aliyun.bailian20231229.models.CreateIndexResponse;

import java.util.List;

public interface CreateIndexService {
    CreateIndexResponse createIndex(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType, String embeddingModelName,
                                    String rerankModelName, double rerankMinScore, Integer chunkSize, Integer overlapSize,
                                    String sourceType, List<String> documentIds, List<String> categoryIds, String sinkType, String description) throws Exception;
    CreateIndexResponse createIndex(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType,
                     String sourceType, List<String> documentIds, List<String> categoryIds, String sinkType) throws Exception;

    CreateIndexResponse createIndexWithDoc(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType,
                                     List<String> documentIds, String sinkType) throws Exception;

    CreateIndexResponse createIndexWithCat(com.aliyun.bailian20231229.Client client, String workspaceId, String name, String structureType,
                                           List<String> categoryIds, String sinkType) throws Exception;
}
